package com.shixj.easy.spider.constant;

import com.google.common.collect.ImmutableMap;

import java.util.Map;

/**
 * Created by shixj on 2018/1/25.
 */
public class DomainContants {
    private static String BQG = "http://www.biquge.com.tw/";//笔趣阁
    private static String XBQG = "https://www.xxbiquge.com/";//新笔趣阁

    private static Map<String, String> DOMAIN_MAP =
            new ImmutableMap.Builder<String, String>()

                    .put("bqg",BQG)
                    .put("xbqg",XBQG)
                             .build();

    public static String getDomain(String key){
        return  DOMAIN_MAP.get(key);
    }
}
